#include "Component.h"

using namespace std;

int main(int argc, char *argv[])
{
    Component1 *c1 = new Component1;
    Component2 *c2 = new Component2;

    ConcreteMediator *mediator = new ConcreteMediator(c1, c2);

    c1->todoA();
    c2->todoD();

    delete c1;
    delete c2;
    return 0;
}